package  com.zbj.nacos.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

//删除视频远程服务
@FeignClient("nacos-provider")
@Component
public interface ProviderClient {

    //定义要调用的方法的路径
    @RequestMapping("/provider/{echo}")
    String hello(@PathVariable("echo") String id);

}

